home *** CD-ROM | disk | FTP | other *** search
/ Personal Paint v7.1 / Cloanto Personal Paint v7.1.iso / utilities / cloanto_gfx_dt / install < prev    next >
Text File  |  1997-03-22  |  2KB  |  83 lines

  1. ; $VER: Install 1.0
  2. ; Cloanto Internet Graphics DataTypes Installer Script
  3. ; Copyright ⌐ 1997 Cloanto Italia srl
  4. ; Cloanto is a registered trademark of Cloanto Italia srl
  5. ; "Installer and Installer project icon Copyright ⌐ 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
  6. ;  Reproduced and distributed under license from Commodore"
  7. ; New installer icon design Copyright ⌐ 1994 Cloanto Italia srl
  8.  
  9. (if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
  10.  
  11. (if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
  12.  
  13. (if (>= (+ (database "cpu")) 68020)
  14.         (
  15.         (set gif_datatype "gif.datatype.020")
  16.         (set jpeg_datatype "jpeg.datatype.020")
  17.         (set png_datatype "png.datatype.020")
  18.         (set xbm_datatype "xbm.datatype.020")
  19.         ) (
  20.         (set gif_datatype "gif.datatype")
  21.         (set jpeg_datatype "jpeg.datatype")
  22.         (set png_datatype "png.datatype")
  23.         (set xbm_datatype "xbm.datatype")
  24.         )
  25.     )
  26.  
  27. (copyfiles
  28.     (prompt "Copying Format Descriptor Files")
  29.     (help @copyfiles-help)
  30.     (source "Devs/DataTypes")
  31.     (dest "DEVS:DataTypes")
  32.     (all)
  33.     (infos)
  34.     (optional "nofail" "force")
  35.     (confirm)
  36. )
  37.  
  38. (copylib
  39.     (prompt "Copying GIF DataType")
  40.     (help @copylib-help)
  41.     (source (tackon "Classes/DataTypes" gif_datatype))
  42.     (dest "SYS:Classes/DataTypes")
  43.     (newname "gif.datatype")
  44.     (optional "nofail" "force")
  45.     (confirm)
  46.     )
  47.  
  48. (copylib
  49.     (prompt "Copying JPEG DataType")
  50.     (help @copylib-help)
  51.     (source (tackon "Classes/DataTypes" jpeg_datatype))
  52.     (dest "SYS:Classes/DataTypes")
  53.     (newname "jpeg.datatype")
  54.     (optional "nofail" "force")
  55.     (confirm)
  56.     )
  57.  
  58. (copylib
  59.     (prompt "Copying PNG DataType")
  60.     (help @copylib-help)
  61.     (source (tackon "Classes/DataTypes" png_datatype))
  62.     (dest "SYS:Classes/DataTypes")
  63.     (newname "png.datatype")
  64.     (optional "nofail" "force")
  65.     (confirm)
  66.     )
  67.  
  68. (copylib
  69.     (prompt "Copying XBM DataType")
  70.     (help @copylib-help)
  71.     (source (tackon "Classes/DataTypes" xbm_datatype))
  72.     (dest "SYS:Classes/DataTypes")
  73.     (newname "xbm.datatype")
  74.     (optional "nofail" "force")
  75.     (confirm)
  76.     )
  77.  
  78. (run "C:AddDataTypes QUIET REFRESH")
  79.  
  80. (message "\nInstallation complete.")
  81.  
  82. (exit (quiet))
  83.